package com.jxgyl.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @program: middleplatform
 * @description: 配置项
 * @author: Wanglipeng
 * @create: 2022-01-20 16:21
 **/
@ConfigurationProperties(prefix = "gateway")
@Configuration
public class GateWayConfig {

    private boolean openXss;

    private boolean openSqlAttack;

    public boolean isOpenXss() {
        return openXss;
    }

    public void setOpenXss(boolean openXss) {
        this.openXss = openXss;
    }

    public boolean isOpenSqlAttack() {
        return openSqlAttack;
    }

    public void setOpenSqlAttack(boolean openSqlAttack) {
        this.openSqlAttack = openSqlAttack;
    }
}
